package com.xdf.docmanagementsystem.service;

import com.xdf.docmanagementsystem.entity.DocDepartment;
import com.xdf.docmanagementsystem.vo.TreeVo;

import java.util.List;

/**
 * @Description : 业务层接口,该类为生成器自动生成.
 * @Author : ZK
 * @Date : 2020-06-22 15:16:03
 */
public interface DocDepartmentService {
    int insert(DocDepartment record) throws Exception;

    int insertSelective(DocDepartment record) throws Exception;

    int multiInsert(List<DocDepartment> list) throws Exception;

    int updateByPrimaryKey(DocDepartment record) throws Exception;

    int updateByPrimaryKeySelective(DocDepartment record) throws Exception;

    int update(DocDepartment record) throws Exception;

    int multiUpdate(List<DocDepartment> list) throws Exception;

    DocDepartment selectByPrimaryKey(Integer id) throws Exception;

    int deleteByPrimaryKey(Integer id) throws Exception;

    List<DocDepartment> listQuery(DocDepartment record) throws Exception;

    List<TreeVo> getTreeVoList(Integer parentId) throws Exception;

    List<Integer> findChildrenId(Integer parentId) throws Exception;
}